package com.hl.springboothome1.service;

import com.github.pagehelper.PageInfo;
import com.hl.springboothome1.entity.Article;

import java.util.List;
import java.util.Map;

public interface ArticleService {
    int add(Article article);
    int deleteById(int id);
    int deleteBatch(List list);
    int update(Article article);
    Article selectById(int id);
    PageInfo<Article> selectAll(Article article,int pageNum,int pageSize);
}
